package com.cug.smartranch.animal.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cug.smartranch.animal.admin.dao.entity.FeedEquipment;
import com.cug.smartranch.animal.admin.dto.req.EquipmentSaveReqDTO;
import com.cug.smartranch.animal.admin.dto.req.FeedEquipmentPageQueryReqDTO;
import com.cug.smartranch.animal.admin.dto.resp.FeedEquipmentPageQueryRespDTO;

/**
 * 喂养设备记录业务逻辑层
 */
public interface FeedEquipmentService  extends IService<FeedEquipment> {
    void createEquipment(EquipmentSaveReqDTO requestParam);

    IPage<FeedEquipmentPageQueryRespDTO> selectAllFeedEquipment(FeedEquipmentPageQueryReqDTO requestParam);


    void enableOrClose(Integer status, Long id);
}
